home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / cpp_libs / brent_cc.lha / brent_cc / vfminbr.dat < prev    next >
Text File  |  1993-08-08  |  918b  |  33 lines

  1.  
  2.  
  3. -------------------------------------------------------------------------------
  4.         Testing the Brent's one-dimensional minimizer
  5.  
  6.  
  7. For function x^3 - 2*x - 5
  8. the minimum over [0,1] is found to be at    8.164965811e-01
  9. Min function value found    -6.0887e+00
  10. No. of iterations        11
  11. Exact min is at        0.81650
  12.  
  13. For function (x^3 - 2*x - 5)^2
  14. the minimum over [2,3] is found to be at    2.094551483e+00
  15. Min function value found    2.7186e-16
  16. No. of iterations        14
  17. Exact root is         2.0945514815
  18.  
  19. For function (cos(x)-x)^2 - 2
  20. the minimum over [2,3] is found to be at    2.000000048e+00
  21. Min function value found    3.8378e+00
  22. No. of iterations        35
  23.  
  24. For function (cos(x)-x)^2 - 2
  25. the minimum over [-1,3] is found to be at    7.390851269e-01
  26. Min function value found    -2.0000e+00
  27. No. of iterations        17
  28.  
  29. For function (sin(x)-x)^2 + 1
  30. the minimum over [-1,3] is found to be at    -3.815499176e-03
  31. Min function value found    1.0000e+00
  32. No. of iterations        59
  33.